package com.xuzimian.globaldemo.spring.springflow;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HomeController {

    @RequestMapping("/")
    public String redirectToFlow() {
        return "redirect:/pizza";
    }

    /**
     * 返回test.jsp
     * @return
     */
    @RequestMapping("/test")
    public String test() {
        return "test";
    }
}
